﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<WebGuiMvc.Models.ProfileModel>" %>
<%@ Import Namespace="AspNetMvc" %>
<%@ Import Namespace="WebGuiMvc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%= ViewStrings.LogOnStrings.UpdateProfile %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="text1">
        <h2>
            <%= ViewStrings.LogOnStrings.UpdateProfile %></h2><br />
        <% using (Html.BeginForm(MVC.Account.ActionNames.UpdateProfile, MVC.Account.Name, FormMethod.Post))
           {%>
        <p class="la"><label for="lang"><%= ViewStrings.LogOnStrings.Language %></label></p>
        <p>
            <%= Html.DropDownListFor(model => model.Language, new SelectList(WebGuiMvc.Models.Languages.All, "Value", "Key", Model.Language), new { @class = "fo14" })%></p>
        <p>
            <%= string.Format("<input type=\"submit\" value=\"{0}\" />", ViewStrings.LogOnStrings.Save)%></p>
        <% } %>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
